This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 24, 2013, 7:11 PM
9 Posts

Java Agent to Set Fields after page load on tabbed Panels

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role:
  • Tags: tabbed Panels,Java
  • Replies: 1
Hello,
 
I have been working on this for hours now without an end in site.    
 
I have a java agent that gets called after page loads to set fields on the page which are obtained from a web service. 
 
Data is coming in fine and is set on the first Panel (which is initially opened), but I cannot figure out how to tell my Java agent to switch to 2nd tabbed panel to set the rest of the fields. 
 
Any ideas on how to accomplish this from my java agent?
 
Any suggestions are greatly appreciated. 
Thanks. 
Jan 24, 2013, 10:25 PM
366 Posts
Re: Java Agent to Set Fields after page load on tabbed Panels
 The problem is that the fields on the other tabs don't actually exist when using the standard XPage tabbed table.
 
You could use a Java Bean instead of a Java agent to hold all of the values and then the tab events to populate the fields when going from tab to tab. 
 
My recommendation is to use the dojo tabbed table or the jQuery tabbed table instead. 
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal